Dynamic gene regulation vis a vis Hamey et al (2020) and Tusi et al

Cycle through sliding window of n cells for each gene, looking for a maxima window and minima window, using pseudotime+leiden ranking. T-test for p-value scores. The same number of cells are then scrambled, taking a new maxima and minima, to create a background distribution. The fraction of shuffled p-values across all genes less than the p-value for the gene in question is used as the adjusted p-value (ordered data).